package com.quiz.bis.service;

import com.quiz.bis.domain.bo.MemberApproveBo;
import com.quiz.bis.domain.bo.MemberInviteBo;
import com.quiz.bis.domain.vo.ExamMemberVo;
import com.quiz.bis.domain.vo.PendingMemberVo;
import com.quiz.common.core.domain.R;
import com.quiz.common.mybatis.core.page.PageQuery;
import com.quiz.common.mybatis.core.page.TableDataInfo;

import javax.validation.Valid;


public interface IExamGroupMemberService {
    TableDataInfo<PendingMemberVo> getPendingMembers(Long groupId, PageQuery pageQuery);

    R<Void> approveMember(@Valid MemberApproveBo bo);

    R<Void> inviteMember(@Valid MemberInviteBo bo);

    R<Void> removeMember(Long id);

    TableDataInfo<ExamMemberVo> getStuMembers(Long groupId, String keyword, PageQuery pageQuery);
}
